Skip to content

Conversation

PlaidCat
Copy link
Collaborator

@PlaidCat PlaidCat commented Jul 9, 2025

Forward port of this PR:
#328

KBuild

[jmaple@devbox code]$ egrep -B 5 -A 5 "\[TIMER\]|^Starting Build" kbuild.resf_kernel-6.12.0-55.20.1.el10_0.log
/mnt/code/kernel-src-tree-build
no .config file found, moving on
[TIMER]{MRPROPER}: 0s
x86_64 architecture detected, copying config
'configs/kernel-x86_64-rhel.config' -> '.config'
Setting Local Version for build
CONFIG_LOCALVERSION="-_jmaple__mana_patches-c62cc6a8c420"
Making olddefconfig
--
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
Starting Build
  GEN     arch/x86/include/generated/asm/orc_hash.h
  WRAP    arch/x86/include/generated/uapi/asm/bpf_perf_event.h
  WRAP    arch/x86/include/generated/uapi/asm/errno.h
  WRAP    arch/x86/include/generated/uapi/asm/fcntl.h
  WRAP    arch/x86/include/generated/uapi/asm/ioctl.h
--
  BTF [M] net/hsr/hsr.ko
  LD [M]  net/qrtr/qrtr.ko
  LD [M]  net/qrtr/qrtr-mhi.ko
  BTF [M] net/qrtr/qrtr.ko
  BTF [M] net/qrtr/qrtr-mhi.ko
[TIMER]{BUILD}: 2040s
Making Modules
  SYMLINK /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/build
  INSTALL /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/modules.order
  INSTALL /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/modules.builtin
  INSTALL /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/modules.builtin.modinfo
--
  STRIP   /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/kernel/net/qrtr/qrtr-mhi.ko
  SIGN    /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/kernel/net/hsr/hsr.ko
  SIGN    /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/kernel/net/qrtr/qrtr-mhi.ko
  SIGN    /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+/kernel/net/qrtr/qrtr.ko
  DEPMOD  /lib/modules/6.12.0-_jmaple__mana_patches-c62cc6a8c420+
[TIMER]{MODULES}: 12s
Making Install
  INSTALL /boot
[TIMER]{INSTALL}: 16s
Checking kABI
Checking kABI
kABI check passed
Setting Default Kernel to /boot/vmlinuz-6.12.0-_jmaple__mana_patches-c62cc6a8c420+ and Index to 0
Hopefully Grub2.0 took everything ... rebooting after time metrices
[TIMER]{MRPROPER}: 0s
[TIMER]{BUILD}: 2040s
[TIMER]{MODULES}: 12s
[TIMER]{INSTALL}: 16s
[TIMER]{TOTAL} 2074s
Rebooting in 10 seconds

KSelfTest

[jmaple@devbox code]$ ls kselftest.6.12.0-rocky10_0_rebuild-3381775694c1+.log kselftest.6.12.0-_jmaple__mana_patches-c62cc6a8c420+.log | while read line; do echo $line; grep '^ok ' $line | wc -l ; done
kselftest.6.12.0-_jmaple__mana_patches-c62cc6a8c420+.log
498
kselftest.6.12.0-rocky10_0_rebuild-3381775694c1+.log
498

PlaidCat added 2 commits July 9, 2025 17:53
jira LE-3208
feature net_mana
commit-author Haiyang Zhang <[email protected]>
commit 290e5d3

To support Multi Vports on Bare metal, increase the device config response
version. And, skip the register HW vport, and register filter steps, when
the Bare metal hostmode is set.

	Signed-off-by: Haiyang Zhang <[email protected]>
Link: https://patch.msgid.link/[email protected]
	Signed-off-by: Paolo Abeni <[email protected]>

(cherry picked from commit 290e5d3)
	Signed-off-by: Jonathan Maple <[email protected]>
Signed-off-by: Jonathan Maple <[email protected]>
jira LE-3207
feature tools_hv
commit-author Shradha Gupta <[email protected]>
commit a9c0b33

Allow the KVP daemon to log the KVP updates triggered in the VM
with a new debug flag(-d).
When the daemon is started with this flag, it logs updates and debug
information in syslog with loglevel LOG_DEBUG. This information comes
in handy for debugging issues where the key-value pairs for certain
pools show mismatch/incorrect values.
The distro-vendors can further consume these changes and modify the
respective service files to redirect the logs to specific files as
needed.

	Signed-off-by: Shradha Gupta <[email protected]>
	Reviewed-by: Naman Jain <[email protected]>
	Reviewed-by: Dexuan Cui <[email protected]>
Link: https://lore.kernel.org/r/1744715978-8185-1-git-send-email-shradhagupta@linux.microsoft.com
	Signed-off-by: Wei Liu <[email protected]>
Message-ID: <1744715978-8185-1-git-send-email-shradhagupta@linux.microsoft.com>
(cherry picked from commit a9c0b33)
	Signed-off-by: Jonathan Maple <[email protected]>
Signed-off-by: Jonathan Maple <[email protected]>
@PlaidCat PlaidCat self-assigned this Jul 9, 2025
@PlaidCat PlaidCat changed the title [SIG CLOUD 10] Mana and Tools Update from SIG- [SIG CLOUD 10] Mana and Tools Update from SCN9 Jul 9, 2025
Copy link

@thefossguy-ciq thefossguy-ciq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚤

Copy link

@jdieter jdieter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Excited to see our first SCN 10 build here!

@PlaidCat PlaidCat merged commit c62cc6a into sig-cloud-10/6.12.0-55.20.1.el10_0 Jul 10, 2025
4 checks passed
@PlaidCat PlaidCat deleted the {jmaple}_mana_patches branch July 10, 2025 13:34
github-actions bot pushed a commit that referenced this pull request Aug 8, 2025
Use BPF_TRAMP_F_INDIRECT flag to detect struct ops and emit proper
prologue and epilogue for this case.

With this patch, all of the struct_ops related testcases (except
struct_ops_multi_pages) passed on LoongArch.

The testcase struct_ops_multi_pages failed is because the actual
image_pages_cnt is 40 which is bigger than MAX_TRAMP_IMAGE_PAGES.

Before:

  $ sudo ./test_progs -t struct_ops -d struct_ops_multi_pages
  ...
  WATCHDOG: test case struct_ops_module/struct_ops_load executes for 10 seconds...

After:

  $ sudo ./test_progs -t struct_ops -d struct_ops_multi_pages
  ...
  #15      bad_struct_ops:OK
  ...
  #399     struct_ops_autocreate:OK
  ...
  #400     struct_ops_kptr_return:OK
  ...
  #401     struct_ops_maybe_null:OK
  ...
  #402     struct_ops_module:OK
  ...
  #404     struct_ops_no_cfi:OK
  ...
  #405     struct_ops_private_stack:SKIP
  ...
  #406     struct_ops_refcounted:OK
  Summary: 8/25 PASSED, 3 SKIPPED, 0 FAILED

Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants